package com.miage.ldapsec.form;

public class UserModify {
    String login, givenName, surname;

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }
    
    public String getGivenName() {
        return givenName;
    }

    public void setGivenName(String givenName) {
        this.givenName = givenName;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }
    
    public boolean isEmpty() {
        return givenName==null || surname==null;
    }
    
    public boolean isComplete() {
        return !givenName.isEmpty() && !surname.isEmpty();
    }
    
}
